MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "query": {
        "abusefilters": [
            {
                "id": 1,
                "description": "prevent mass blanking from new users",
                "pattern": "!(\"autoconfirmed\" in user_groups) &\r\npage_namespace == 0 &\r\n(\r\n  new_size < 50 & old_size > 300 |\r\n  new_size/(old_size + 1) < 0.1\r\n) &\r\n!(lcase(new_wikitext) rlike \"#\\s*redirect|{{(?:db-(?:attack|g10)|wi|wiktionary\\s*redirect)\\s*[|}]\")"
            },
            {
                "id": 2,
                "description": "Preventing super short articles. (Use your sandbox or a subpage instead if you're not finished with your article)",
                "pattern": "page_id == 0 & \r\n(\r\n new_size < 750 &\r\n (\r\n  page_namespace == 0 & \r\n  (\r\n   !\"extendedconfirmed\" in user_rights &\r\n   (\r\n    !added_lines irlike \"{{(?:surname|given name|delrev|softredirect)}}|#redirect\" &\r\n    !'disambig' in lcase(new_html)\r\n   )\r\n  )\r\n )\r\n)"
            },
            {
                "id": 3,
                "description": "Replacing a page with obscenities",
                "pattern": "user_editcount < 30 & (\r\n   (\r\n      new_size < 300 &\r\n      old_size > 300\r\n   ) |\r\n   edit_delta < -5000\r\n ) &  (\r\n    bad_words := \"\\b(?:(?:P+H+|F)+U+C+K+[\\w\\d]*?|AN+U+S|CR+A+P|SH+I+T|[KC]+U+N+T|NI+GG+(?:E+R|A)|(?:ASS+|BU+(?:T+|M+))[ \\-]*(?:H+O+L+E|S+E+X|R+A+P+E)|(?:CO|KA+W+)[CK]|LOO+[SZ]+E+R|BI+T+C+H|PE+N+I+S|WA+N+K+(?:E+R)?|SP+U+R+T|MA+S+T+[UE]+R+B+A+I?T+(?:I+O+N|E+R?)?|HA+GG+E+R|HERMAPHRO|JESKE ?COURLANO|(?:PH+|F)A+G+O+T|KINGPINIE|ORLY)\\b\";\r\n\r\n    ccnorm(added_lines) rlike bad_words &\r\n    !ccnorm(removed_lines) rlike bad_words &\r\n    !added_lines irlike \"^#Redirect\\s*\\[\\[\" &\r\n    !contains_any ( page_title, \"Sockpuppet investigations\", user_name, \"Sandbox\" )\r\n)"
            },
            {
                "id": 4,
                "description": "Vandalism in all caps",
                "pattern": "!(\"confirmed\" in user_groups) &\r\nequals_to_any ( page_namespace, 0, 3) & (\r\n    match := \"ABUSER|\\bA+SS+[- ]?H+O+L+E+\\b|BITCH|\\b(C+O+C+|K+A+W+)K+S*\\b|LOO+S+E+R|SOOO|CONVICTED|[KC]UNT|DILDO|D+O+U+C+H+E|EFF+ (Y+O+U|U)|F+U+(KK|C+K|K+C)|GARBAGE|HAGGER|HITLER|JEWS|MENTALLY|M(WA|U)HAHA|N+I+GG+(E+R|A+H*)|\\bN[A4]ZI|PA?EDO(F|PH)ILE|FAGG|PEA?N[UI]S|S+L+U+T|POOO+P?|W+H+O+R+E|PERVERT|RACIST|S+H+[1I]+T+\\b|SUCK|VAGINA|VIAGRA|WANK(|A|ER|ING)|(W|WANKA)KNIGHT\";\r\n    refmatch := \"<\\s*ref[^\\/]*>[^<]*(?:\" + match + \")\";\r\n    (\r\n        summary rlike match & \r\n        !summary rlike (\"\\[\\[Special:Contributions.*(\" + match +  \".*)\") &\r\n        !summary rlike (\"/\\* .*\" + match + \".* \\*/\")\r\n    ) | (\r\n        added_lines rlike match &\r\n        !( removed_lines + page_title + added_links ) rlike match &\r\n        !added_lines rlike refmatch\r\n    )\r\n) &\r\n!(summary irlike \"und(id|o)|\\brv[vt]?\\b|revert\")"
            },
            {
                "id": 5,
                "description": "Account creation antispam"
            }
        ]
    }
}